package top.bigdata.controller;

import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag;
import lombok.RequiredArgsConstructor;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
import top.bigdata.mapper.TestMapper;
import top.bigdata.model.dto.Response;
import top.bigdata.model.entity.Video;

@RestController
@RequiredArgsConstructor
@Tag(name = "测试接口")
public class TestController {
    private final TestMapper testMapper;

    @GetMapping("/test")
    @Operation(summary = "测试接口", description = "测试接口")
    public Response<Video> test() {
        return Response.success("test");
    }
}
